package com.greatpengcode.service;

import com.github.pagehelper.PageInfo;
import com.greatpengcode.pojo.Employee;
import org.springframework.stereotype.Service;

import java.util.List;
public interface EmployeeService {
    PageInfo<Employee> getAllEmployee(Integer page, Integer pageSize);
    Employee getEmployeeById(Integer id);
    int addEmployee(Employee employee);
    int updateEmployee(Employee employee);
    int deleteEmployee(Integer id);
}
